package com.base.service;

import com.base.po.voip.SelfShopBrowse;
import com.base.po.voip.SelfShopBrowseExample;
import com.base.utils.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SelfShopBrowseService {
    int countByExample(SelfShopBrowseExample example);

    int deleteByExample(SelfShopBrowseExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SelfShopBrowse record);

    int insertSelective(SelfShopBrowse record);

    List<SelfShopBrowse> selectByExample(SelfShopBrowseExample example);

    List<SelfShopBrowse> selectByParentID(@Param("page") Page page, @Param("parentid") String parentid,
                                          @Param("shopid") String shopid);

    SelfShopBrowse selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SelfShopBrowse record, @Param("example") SelfShopBrowseExample example);

    int updateByExample(@Param("record") SelfShopBrowse record, @Param("example") SelfShopBrowseExample example);

    int updateByPrimaryKeySelective(SelfShopBrowse record);

    int updateByPrimaryKey(SelfShopBrowse record);

    int countByParentID(@Param("parentid") String parentid, @Param("shopid") String shopid);
}